package com.big.base.controller;


import com.big.base.pojo.dto.User;
import com.big.base.service.BaseCustomerServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;



@RestController
@RequestMapping("baseCustomer")
public class BaseCustomerController {
    @Autowired
    private BaseCustomerServiceImpl baseCustomerService;

    @GetMapping(value = "select")
    public void addCustomer() {
        User user = baseCustomerService.switchState();
        System.out.println(user);
    }
}
